package com.ruoyi.mateproduction.mapper;

import com.ruoyi.mateproduction.domain.MateChildren;
import com.ruoyi.mateproduction.domain.MateTransfer;
import com.ruoyi.mateproduction.domain.MateTransferInformation;
import com.ruoyi.mateproduction.domain.MateTransferModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.security.core.parameters.P;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateTransferMapper {

    public int addMateTransfer(MateTransfer mateTransfer);

    public int addMateTransferModel(MateTransferModel mateTransferModel);

    public int addMateTransferInformation(MateTransferInformation mateTransferInformation);

    public void  removeMateTransfer(Long transferId);

    public void  removeMateTransferModel(Long transferId);

    public void  removeMateTransferTemplate(Long transferId);

    public void  removeMateTransferModelTemplate(Long transferId);

    public List<MateTransfer> mateTransferList(MateTransfer mateTransfer);

    public MateTransfer selectMateTransfer(Long transferId);

    public int updateMateTransfer(MateTransfer mateTransfer);

    public List<MateTransfer> auditMateTransfer(Long deptId);

    public int addChildren(MateChildren mateChildren);

    public void  removeChildren(Long transferId);

    public List<MateTransferModel> selectMateTransferModel(Long transferId);

    public List<MateChildren>  selectChildren(Long transferId);

    public int addMateTransferTemplate(MateTransfer mateTransfer);

    public int addMateTransferModelTemplate(MateTransferModel mateTransferModel);

    public  MateTransfer   selectMateTransferTemplate(Map<String,Object> resMap);

    public  MateTransfer   selectMateTransferLast(Map<String,Object> resMap);

    public List<MateTransferModel> selectMateTransferModelTemplate(Map<String,Object> resMap);

    public List<MateTransferInformation> selectMateTransferInformation(Long transferId);

}
